package rs.belex.belexdroid.services.interfaces;

import java.util.Date;
import java.util.List;

import rs.belex.belexdroid.beans.interfaces.Share;
import rs.belex.belexdroid.beans.interfaces.ShareChange;
import rs.belex.belexdroid.beans.interfaces.ShareHistory;

public interface IShareProvider {
	
	/** Gets single share for given symbol */
	Share getShare(String symbol);
	
	/**Request all shares that are available from web service
	 * <p>
	 * @return List of Shares
	 * 
	 */
	List<Share> getAll();
	
	/**Requests History of Share changes
	 * @param share
	 * @return SahreHistory
	 */
	ShareHistory getHistory(Share share);
	
	/**
	 * @param share
	 * @param date
	 * @return
	 */
	List<ShareChange> getChangesOnDate(Share share, Date date);
}
